import '../css/Header.scss'
import logo from '../image/logo.jpeg'
const Headercom = ()=> {
    let user = JSON.parse(sessionStorage.getItem("userinfo"))
    console.log(user);
    return (
      <div className='header'>
        <div className='headImage'>
          <img className='headImage' src={logo} alt="logo" />
        </div>
        <div className='headTextbox'>
          <p className='headText'>
            {user.username}
          </p>
        </div>
      </div>
    );
}
 
export default Headercom;